﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyNhanVien
{
    public partial class frmTaomoiQuocTich : Form
    {
        public frmTaomoiQuocTich()
        {
            InitializeComponent();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            //frmNhapHoSo frmNhapHoSo = new frmNhapHoSo();
            int iReturn = 0;

            iReturn = Program.DBExecute("POAddress", "INSERT INTO Nation(m_Name) VALUES( ''" + txtTenQuocGia.Text.ToString() + "'')");            
            Program.afrmGiaoDienChinh.frmNhapHoSo.cmbQuocTich.Items.Add(txtTenQuocGia.Text.ToString());
            this.Dispose();

        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }
    }
}














































































































































